//
//  QRCodeManager.h
//  gdemm
//
//  Created by 乔明超 on 16/6/17.
//  Copyright © 2016年 Goldencis. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QRCodeInfo.h"
@interface QRCodeManager : NSObject
@property (strong,nonatomic) QRCodeInfo *mInQR;

/**
 *  获取单例
 */
+ (instancetype)getInstance;

/**
 *  获取二维码信息
 */
- (QRCodeInfo *)getInQrInfo;

/**
 *  保存进入的二维码信息
 */
- (BOOL)saveInQrInfo:(NSString *)qrString;

/**
 *  退出二维码信息
 */
- (BOOL)quit:(NSString *)quitQrInfos;

- (BOOL)isQuitQRcode:(NSString *)qrcodeInfo;

- (BOOL)qrCodeIsLegal:(NSString *)info;

- (NSString *)getLocation;
@end
